{layout name="define/layout" /}

<body id="reg">
    <div class="reg-w">
        <div class="reg-logo">
            <a href="javascript:;"></a>
        </div>
        <form id="lycms-login">
            <h4>会员登录</h4>
            <div class="reg-group">
                <label class="bd-r" style="letter-spacing: normal;">账号</label><input type="text" id="user_name"
                    name="user_name" class="reg-control" placeholder="请输入您的登录账号">
            </div>
            <div class="reg-group">
                <label>密码</label><input type="password" id="user_pwd" name="user_pwd" class="reg-control"
                    placeholder="请输入您的登录密码">
            </div>

            <!-- 常规验证码 -->
            <div class="reg-group">
                <label>验证码</label><input type="text" name="captcha" class="reg-control" placeholder="请输入验证码"
                    style="width: 30%;">
                <div class="captcha-img" style=" position: relative; float: right; top: 5px; left: -3px; ">
                    <img id="captchaPic" src="{:captcha_src()}" onclick="this.src=this.src+'?d='+Math.random();"
                        title="点击刷新">
                </div>
            </div>

            <input type="button" id="btn_login" class="btn-brand btn-sub" value="立即登录">
        </form>
        <div class="reg-ts">
            <a href="/">返回首页</a><a href="/user/register.html">注册账号</a><a href="/index.php/user/findpass.html">忘记密码</a>
        </div>
        <div class="reg-dl">
            <ul>
            </ul>
        </div>
    </div>
    <script src="/static/user/js/login.js"></script>
    <!-- // sign-box#regbox end -->
    <script type="text/javascript">

        $(function () {
            $("body").bind('keyup', function (event) {
                if (event.keyCode == 13) { $('#btn_login').click(); }
            });
        });

    </script>